how to build an integration